<template>
        <!-- 登录页面头 -->
        <header class="wrap">
            <i class="iconfont icon-left" @click="goBack"></i>
            <span>
                <!-- 插槽 -->
                <slot></slot>
            </span>
            <i class="iconfont icon-More"></i>
        </header>

</template>
<script>
export default {
   methods: {
       //返回按钮
        goBack() {
            this.$router.go(-1)
        }
    }
}
</script>
<style lang="scss"  scoped>
// 公共样式
@import '../common/style/mixin';
// 单独样式
@import '../css/z-header';
</style>